crypto/x509.pkcs1PublicKey.N (field)

40 uses

	crypto/x509 (current package)
		parser.go#L282: 			N: p.N,
		pkcs1.go#L84: 		N: priv.N,
		pkcs1.go#L143: 		N:       key.N,
		pkcs1.go#L189: 		N: pub.N,
		pkcs1.go#L198: 		N: key.N,
		x509.go#L89: 			N: pub.N,

	crypto/rsa
		fips.go#L422: 	if pub.N == nil {
		fips.go#L425: 	if pub.N.BitLen() < 2048 {
		fips.go#L428: 	if pub.N.BitLen()%2 == 1 {
		rsa.go#L69: 	N *big.Int // modulus
		rsa.go#L79: 	return (pub.N.BitLen() + 7) / 8
		rsa.go#L88: 	return bigIntEqual(pub.N, xx.N) && pub.E == xx.E
		rsa.go#L257: 	if !bigIntEqualToBytes(priv.N, N) || priv.E != e || !bigIntEqualToBytes(priv.D, d) {
		rsa.go#L296: 	if k.N == nil {
		rsa.go#L299: 	return checkKeySize(k.N.BitLen())
		rsa.go#L338: 				N: N,
		rsa.go#L387: 			N: new(big.Int).SetBytes(N),
		rsa.go#L519: 			priv.N = n
		rsa.go#L565: 	if priv.N == nil {
		rsa.go#L583: 		k, err := rsa.NewPrivateKeyWithPrecomputation(priv.N.Bytes(), priv.E, priv.D.Bytes(),
		rsa.go#L595: 	k, err := rsa.NewPrivateKey(priv.N.Bytes(), priv.E, priv.D.Bytes(),
		rsa.go#L613: 	k, err := rsa.NewPrivateKeyWithoutCRT(priv.N.Bytes(), priv.E, priv.D.Bytes())
		rsa.go#L666: 	N, err := bigmod.NewModulus(pub.N.Bytes())

	crypto/tls
		defaults_fips140.go#L70: 		return k.N.BitLen() >= 2048
		handshake_client.go#L1108: 			n := cert.PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server.go#L950: 			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server_tls13.go#L874: 			rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS

	github.com/gotd/td/crypto
		rsa.go#L35: 	m := new(big.Int).Exp(c, e, pub.N)
		rsa.go#L43: 	c := new(big.Int).Exp(z, e, key.N)
		rsa.go#L51: 	m := new(big.Int).Exp(c, key.D, key.N)
		rsa_fingerprint.go#L20: 	buf.PutBytes(key.N.Bytes())
		rsa_pad.go#L104: 		if keyAESEncryptedBig.Cmp(key.N) >= 0 {

	github.com/gotd/td/telegram/dcs
		dns.go#L54: 	y := new(big.Int).Exp(x, dnsKey.eBig, dnsKey.N)

	github.com/refraction-networking/utls
		common.go#L1812: 		size := k.N.BitLen()
		handshake_client.go#L1132: 			n := cert.cert.PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server.go#L918: 			n := certs[i].PublicKey.(*rsa.PublicKey).N.BitLen()
		handshake_server_tls13.go#L874: 			rsaKey.N.BitLen()/8 < sigHash.Size()*2+2 { // key too small for RSA-PSS
		tls.go#L327: 		if pub.N.Cmp(priv.N) != 0 {